GrantPermissionsRequest

data class GrantPermissionsRequest(permissions: List<PermissionType>, origin: String?, browserContextId: BrowserContextID?)

Represents request frame that can be used with Browser#grantPermissions operation call.

Grant specific permissions to the given origin and reject all others.

See also

Constructors

GrantPermissionsRequest
Link copied to clipboard
fun GrantPermissionsRequest(permissions: List<PermissionType>, origin: String? = null, browserContextId: BrowserContextID? = null)

Properties

browserContextId
Link copied to clipboard
val browserContextId: BrowserContextID? = null
BrowserContext to override permissions.
origin
Link copied to clipboard
val origin: String? = null
Origin the permission applies to, all origins if not specified.
permissions
Link copied to clipboard
val permissions: List<PermissionType>

Sources

jvm source
Link copied to clipboard